//
//  DDSearchOtherACK.m
//  MyClouds
//
//  Created by sarah doo on 13-8-11.
//  Copyright (c) 2013年 sarah doo. All rights reserved.
//

#import "DDSearchOtherACK.h"

@implementation DDSearchOtherACK
@synthesize cloudHDR, hdfCloud;

- (id)initWithData:(NSData *)data {
    self = [super init];
    if (self) {
        
    }
    return self;
}

- (void)setCloudHDR:(NSData *)_cloudHDR {
    if (cloudHDR != _cloudHDR) {
        [cloudHDR release];
        cloudHDR = [_cloudHDR retain];
    }
}

- (NSData *)cloudHDR {
    DDHdrCloud *cloud = [[DDHdrCloud alloc] init];
    cloud.cmd = CloudCmd_SearchOtherAck;;
    cloud.signature = CLOUD_SIGNATURE ;
    cloud.version = CLOUD_VERSION_1_0;
    cloud.length = 20;
    NSData *cloudHDRData = [cloud hdrData];
    NSLog(@"cloudHD ----------- %@",cloudHDRData);
    [cloud release];
    return cloudHDRData;
}


@end
